home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / pictetri.src / pictetri / pictetris-src / pieces.h < prev    next >
C/C++ Source or Header  |  1995-12-19  |  864b  |  24 lines

  1. /***************************************************************************\
  2. |*                                       *|
  3. |*  pieces.h:    A version of Tetris to run on Linux SVGAlib console.       *|
  4. |*        This module contains the definitions of the pieces.       *|
  5. |*                                       *|
  6. |*  Authors:    Mike Taylor (mirk@uk.ac.warwick.cs) &               *|
  7. |*        Arturo Espinosa (arturo@nuclecu.unam.mx)           *|
  8. |*  Started:    Fri May 26 12:26:05 BST 1989 (tetris for terminals)       *|
  9. |*            Dic 1, 1995 (pictetris)                       *|
  10. |*                                       *|
  11. \***************************************************************************/
  12.  
  13. struct piece {
  14.   char app[3];
  15.   int points;
  16.   int index[NO_ORIENTS][NO_SQUARES][NO_DIMS];
  17. };
  18.  
  19. /*-------------------------------------------------------------------------*/
  20.  
  21. extern struct piece pieces[NO_PIECES];
  22.  
  23. /*-------------------------------------------------------------------------*/
  24.